package fr.xebia.batch;

import java.util.List;

import org.springframework.batch.item.ItemWriter;

public class CustomWriter implements ItemWriter<Xebian> {

	public void write(List<? extends Xebian> p) throws Exception {
		System.out.println("Writing : ");
		
		for (Xebian person : p) {
			System.out.println(person);
		}
	}

}
